<?php

namespace app\api\validate;

class UpdateCartValidate extends BaseValidate
{
    protected $rule = [
        'id' => 'require|isPositiveInteger',
        'goodsId' => 'require|isPositiveInteger',
        'productId' => 'require|isPositiveInteger',
        'number' => 'require|isPositiveInteger'
    ];
}